package com.ruoyi.system.domain.fx;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 门店对象 fx_store
 *
 * @author ruoyi
 * @date 2024-07-23
 */
@Data
public class
FxStore extends BaseEntity {
    private static final long serialVersionUID = 1L;

    // 省市区
    private List<Long> addressAll;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 门店名称
     */
    @Excel(name = "门店名称")
    private String storeName;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String phoneNumber;

    /**
     * 省
     */
    @Excel(name = "省")
    private Long province;

    /**
     * 省名称
     */
    @Excel(name = "省名称")
    private String provinceString;

    /**
     * 市
     */
    @Excel(name = "市")
    private Long city;

    /**
     * 市名称
     */
    @Excel(name = "市名称")
    private String cityString;

    /**
     * 区
     */
    @Excel(name = "区")
    private Long region;

    /**
     * 区名称
     */
    @Excel(name = "区名称")
    private String regionString;

    /**
     * 详细地址
     */
    @Excel(name = "详细地址")
    private String detail;

    /**
     * 经度
     */
    @Excel(name = "经度")
    private String longitude;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    private String latitude;

    /**
     * 简介
     */
    @Excel(name = "简介")
    private String intro;

    /**
     * 门店图片
     */
    @Excel(name = "门店图片")
    private String images;

    /**
     * 状态（0营业中，1休息中）
     */
    @Excel(name = "状态", readConverterExp = "0=待审核,1=审核通过,2=审核不通过")
    private Long status;

    /**
     * 上架（0上架，1下架）
     */
    @Excel(name = "上架", readConverterExp = "0=上架,1=下架")
    private Long isInitiate;

    /**
     * 开门时间（整点）
     */
    @Excel(name = "开门时间", readConverterExp = "整=点")
    private String openingTime;

    /**
     * 关门时间（整点）
     */
    @Excel(name = "关门时间", readConverterExp = "整=点")
    private String closingTime;

    /**
     * 收款码图片
     */
    @Excel(name = "收款码图片")
    private String collectionCode;

    /**
     * 店铺标签，以逗号隔开
     */
    @Excel(name = "店铺标签，以逗号隔开")
    private String storeTags;

    /**
     * 评分
     */
    @Excel(name = "评分")
    private String score;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sortNo;

    /**
     * 标签名称
     */
    private String tegNames;

    /**
     * 距离
     */
    private String distance;

    /**
     * 配送范围 （单位km）
     */
    private String deliveryScope;

    /**
     * 首页搜索私用
     */
    private List<Integer> ids;

    /**
     * 配送费
     */
    private String freight;

    /*
     * 加急配送费
     * */
    private String urgentCharge;



    /** 店铺分销二维码 */
    @Excel(name = "店铺分销二维码")
    private String storeQrCodeUrl;

    /** 禁用(0正常，1禁用) */
    private Long forbidden;

    /** 营业类型标签 */
    private String typeTag;

    /** 门店标签id */
    private String tagIds;

    /** 类型id */
    private String typeTagIds;

    /** 营业执照 */
    private String licenseImg;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public List<Long> getAddressAll() {
        return addressAll;
    }

    public void setAddressAll(List<Long> addressAll) {
        this.addressAll = addressAll;
    }

    public String getTegNames() {
        return tegNames;
    }

    public void setTegNames(String tegNames) {
        this.tegNames = tegNames;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public String getDeliveryScope() {
        return deliveryScope;
    }

    public void setDeliveryScope(String deliveryScope) {
        this.deliveryScope = deliveryScope;
    }

    public List<Integer> getIds() {
        return ids;
    }

    public void setIds(List<Integer> ids) {
        this.ids = ids;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public String getStoreQrCodeUrl() {
        return storeQrCodeUrl;
    }

    public void setStoreQrCodeUrl(String storeQrCodeUrl) {
        this.storeQrCodeUrl = storeQrCodeUrl;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setProvince(Long province) {
        this.province = province;
    }

    public Long getProvince() {
        return province;
    }

    public void setProvinceString(String provinceString) {
        this.provinceString = provinceString;
    }

    public String getProvinceString() {
        return provinceString;
    }

    public void setCity(Long city) {
        this.city = city;
    }

    public Long getCity() {
        return city;
    }

    public void setCityString(String cityString) {
        this.cityString = cityString;
    }

    public String getCityString() {
        return cityString;
    }

    public void setRegion(Long region) {
        this.region = region;
    }

    public Long getRegion() {
        return region;
    }

    public void setRegionString(String regionString) {
        this.regionString = regionString;
    }

    public String getRegionString() {
        return regionString;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getDetail() {
        return detail;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getIntro() {
        return intro;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getImages() {
        return images;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getStatus() {
        return status;
    }

    public void setIsInitiate(Long isInitiate) {
        this.isInitiate = isInitiate;
    }

    public Long getIsInitiate() {
        return isInitiate;
    }

    public void setOpeningTime(String openingTime) {
        this.openingTime = openingTime;
    }

    public String getOpeningTime() {
        return openingTime;
    }

    public void setClosingTime(String closingTime) {
        this.closingTime = closingTime;
    }

    public String getClosingTime() {
        return closingTime;
    }

    public void setCollectionCode(String collectionCode) {
        this.collectionCode = collectionCode;
    }

    public String getCollectionCode() {
        return collectionCode;
    }

    public void setStoreTags(String storeTags) {
        this.storeTags = storeTags;
    }

    public String getStoreTags() {
        return storeTags;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getScore() {
        return score;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("storeName", getStoreName())
                .append("phoneNumber", getPhoneNumber())
                .append("province", getProvince())
                .append("provinceString", getProvinceString())
                .append("city", getCity())
                .append("cityString", getCityString())
                .append("region", getRegion())
                .append("regionString", getRegionString())
                .append("detail", getDetail())
                .append("longitude", getLongitude())
                .append("latitude", getLatitude())
                .append("intro", getIntro())
                .append("images", getImages())
                .append("status", getStatus())
                .append("isInitiate", getIsInitiate())
                .append("openingTime", getOpeningTime())
                .append("closingTime", getClosingTime())
                .append("collectionCode", getCollectionCode())
                .append("storeTags", getStoreTags())
                .append("score", getScore())
                .append("sortNo", getSortNo())
                .append("createTime", getCreateTime())
                .append("remark", getRemark())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
